﻿using MediatR;
using PublicCommon;
using System.ComponentModel.DataAnnotations;

namespace T_Person.APi.Applation.CommandHandlers.EmployeeHandlers
{
    public class EmployeerAddHandlers:Audit,IRequest<int>
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Eid { get; set; }
        /// <summary>
        /// 员工姓名
        /// </summary>
        public string? Ename { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Esex { get; set; }
        /// <summary>
        /// 电话号码
        /// </summary>
        public string? Ephone { get; set; }
        /// <summary>
        /// 毕业院校
        /// </summary>
        public string? Eschool { get; set; }
        /// <summary>
        /// 专业
        /// </summary>
        public string? Especialized { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? Eaddress { get; set; }
        /// <summary>
        /// 籍贯
        /// </summary>
        public string? Eorigin { get; set; }
        /// <summary>
        /// 婚姻状态
        /// </summary>
        public string? Emarriage { get; set; }
        /// <summary>
        /// 出生年月日
        /// </summary>
        public DateTime? Ebirthday { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? EcardId { get; set; }
        /// <summary>
        /// 入职时间
        /// </summary>
        public DateTime? EntrtDate { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>
        public string? DepartId { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        public string? PostsId { get; set; }
        /// <summary>
        /// 员工类别
        /// </summary>
        public string? EmployeeType { get; set; }
        /// <summary>
        /// 员工状态
        /// </summary>
        public int EmployeeStyle { get; set; }
        /// <summary>
        /// 学历
        /// </summary>
        public string? Eshangji { get; set; }
        /// <summary>
        /// 政治面貌
        /// </summary>
 
        public string? Ezhengzhimianmao { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string? Enation { get; set; }

    }
}
